Skip to main content

Add Secret

Add Secret

Path Parameters
    workspaceName string required
    userId string required
Header Parameters
    Authentication string
    Example: Bearer {{token}}

Request Body

client_idnumber

The id of the client.

additional_pathsarray

List of additional path for client.

secretstring

The secret of the client.

Sample Request Body
{
"client_id" : "{{winlogon_clientid}}",
"additional_paths" : [],
"secret" : "123456"
}

Response

statusnumber

The status information of response body.

bodystring

A Description message for response body.

Sample Response
{
"status": 200,
"body": "Secret updated successfully"
}
HTTP STATUS CODE SUMMARY
200 - OKSuccessfully done.
201 - OKSuccessfully created.
400 - Bad RequestThe request was unacceptable, often due to missing a required parameter.
401 - UnauthorizedUnauthorized access try with correct access.
402 - Request FailedThe parameters were valid but the request failed.
403 - ForbiddenThe Application doesn't have permissions to perform the request.
404 - Not FoundThe requested resource doesn't exist
500 - Server ErrorsSomething went wrong on ezto auth's end. (These are rare.)
503 - Server ErrorsService temporarily unavailable

Loading...